from setuptools import setup, find_packages
import os

# 读取README.md作为项目描述
with open("README.md", "r", encoding="utf-8") as f:
    long_description = f.read()

# 读取requirements.txt中的依赖
with open("requirements.txt", "r", encoding="utf-8") as f:
    requirements = f.read().splitlines()

setup(
    name="py-predict-sleep",
    version="1.0.0",
    author="",
    author_email="",
    description="睡眠分期预测系统",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="",
    packages=find_packages(),
    include_package_data=True,
    package_data={
        '': ['*.json', '*.pth'],
    },
    install_requires=requirements,
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires='>=3.8',
    entry_points={
        'console_scripts': [
            'py-predict-sleep=app:main',
        ],
    },
)